package com.twq.repository;

import com.twq.entity.Menu;

import java.security.acl.LastOwnerException;
import java.util.List;

public interface MenuRepository {

    public List<Menu> findAll(int index,int limit);

    public int count();

    public Menu findById(long id);

    public void save(Menu menu);

    public void update(Menu menu);

    public void deleteById(long id);

}
